const odooModelName = 'soil.test'

const fields_default = {}

const detail_columns = [
  'date',
  'partner_id__name',
  'country_id__name',
  'state_id__name'
]

const child_configs = {
  line_ids: {
    columns: ['item_id__name', 'value'],
    formItems: ['item_id', 'value']
  }
}

const formItems = ['date', 'country_id', 'state_id', 'partner_id']

const Model = {
  name: odooModelName,
  configs: {
    fields_default,
    detail_columns,
    child_configs,
    formItems
  }
}

export default Model
